<?php
/**
 * @package WordPress
 * @subpackage Default_Theme
 */

// Do not delete these lines
	if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
		die ('Please do not load this page directly. Thanks!');

	if ( post_password_required() ) { ?>
		<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
	<?php
		return;
	}
?>

<!-- You can start editing here. -->
<?php if ( have_comments() ) : ?>
	<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>

	<div class="commentnav">
		<div class="alignleft"><?php previous_comments_link() ?></div>
		<div class="alignright"><?php next_comments_link() ?></div>
	</div>

	<ol class="commentlist">
	<?php wp_list_comments(); ?>
	</ol>

	<div class="commentnav">
		<div class="alignleft"><?php previous_comments_link() ?></div>
		<div class="alignright"><?php next_comments_link() ?></div>
	</div>
 <?php else : // this is displayed if there are no comments so far ?>

	<?php if ( comments_open() ) : ?>
		<!-- If comments are open, but there are no comments. -->

	 <?php else : // comments are closed ?>
		<!-- If comments are closed. -->
		<p class="nocomments">Comments are closed.</p>

	<?php endif; ?>
<?php endif; ?>
<?php
$comments_args = array(
	'fields' => apply_filters( 'comment_form_default_fields', array(
		'author' => '<p><input type="text" name="author" id="author" value="' . esc_attr($comment_author)       . '" size="22" tabindex="1"/><label for="author"><small>Name' . ($req ? '(required)' : '') . '</small></label></p>',
		'email'  => '<p><input type="text" name="email"  id="email"  value="' . esc_attr($comment_author_email) . '" size="22" tabindex="2"/><label for="email"><small>Mail (will not be published)' . ($req ? '(required)' : '') . '</small></label></p>',
		'url'    => '<p><input type="text" name="url" id="url" value="'       . esc_attr($comment_author_url)   . '" size="22" tabindex="3" /><label for="url"><small>Website</small></label></p>',
		)),

	'comment_field' => '<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>',
	'comment_notes_before' => '',
	'comment_notes_after' => '',
);
?>
<?php comment_form($comments_args); ?>
